package com.hanqi.controller;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

@Controller
public class FormController {

    @RequestMapping("toLogin")
    public String toLogin() {
        return "page/login";
    }

    @RequestMapping("index")
    public String index() {
        return "page/index";
    }

    @RequestMapping("error403")
    public String error403() {
        return "error/403";
    }

    @RequestMapping("error404")
    public String error404() {
        return "error/404";
    }

    @RequestMapping("error500")
    public String error500() {
        return "error/500";
    }

    @RequestMapping("unLogin")
    public String unLogin() {
        return "error/unLogin";
    }
}
